package com.zaydanwu.cla.service.Impl;

import com.zaydanwu.cla.dao.StudentCourseMapper;
import com.zaydanwu.cla.model.StudentCourse;
import com.zaydanwu.cla.service.StudentCourseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wzo
 * @since 2.0.0 2018-12-13
 */
@Service
public class StudentCourseServiceImpl implements StudentCourseService {

    @Resource
    private StudentCourseMapper studentCourseMapper;

    @Override
    public List<StudentCourse> getStudentCourse(Long stuNo) {
        return studentCourseMapper.getStudentCourse(stuNo);
    }
}
